package com.wp.www.repository;

import com.wp.www.entity.account.Account;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface AccountMapper {
    Integer deduct(@Param("userId") String userId, @Param("money") BigDecimal money);
    Account findAccountByUserId(@Param("userId") String userId);
}
